import React from 'react'
import Tabs from 'react-simpletabs'
import Dimensions from 'react-sizeme'

import BackgroundSettingBody from './BackgroundSettingBody'
import BackgroundPropertySettingBody from './BackgroundPropertySettingBody'

class BackgroundSettingTab extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
      return (
        <div className="content-body asset-content-body" >
          <Tabs>
            <Tabs.Panel title='小区账号管理'>
              <BackgroundPropertySettingBody />
            </Tabs.Panel>
            <Tabs.Panel title='集团账号管理'>
              <BackgroundSettingBody />
            </Tabs.Panel>
          </Tabs>
        </div>
      );
  }
}

export default Dimensions()(BackgroundSettingTab)
